package adapter.classadapter;

/**
 * Created by IntelliJ
 * Author:熊磊
 */
public class Client {
    public static void main(String[] args) {
        System.out.println("======类适配器模式======");
        Phone phone = new Phone();
        VoltageAdapter voltageAdapter = new VoltageAdapter();
        phone.charging(voltageAdapter);
    }
}
